<?php
$id = empty($_GET['id']) ? 0 : intval($_GET['id']);
if($id == 0)exit;
$oGoods = new Goods();
$goods = $oGoods->add_hits($id);
?>